package com.base.app_core.service.Retrofit;

import com.base.app_core.model.Paginated;
import com.base.app_core.model.Session;

/**
 * Created by tsingheng on 2017/2/27.
 */
public class HttpResult<T> {


	private Paginated paginated;

	private Session session;

	private String msg;

	private String errorCode;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String message) {
		this.msg = message;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	private boolean xybsuccess;

	public boolean isXybsuccess() {
		return xybsuccess;
	}

	public void setXybsuccess(boolean xybsuccess) {
		this.xybsuccess = xybsuccess;
	}

	private T data;
	private Object exteraData;

	public Object getExteraData() {
		return exteraData;
	}

	public void setExteraData(Object exteraData) {
		this.exteraData = exteraData;
	}

	public Paginated getPaginated() {
		return paginated;
	}

	public void setPaginated(Paginated paginated) {
		this.paginated = paginated;
	}

	public Session getSession() {
		return session;
	}

	public void setSession(Session session) {
		this.session = session;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
